<%@ Page Language="C#" MasterPageFile="~/Demo.master" AutoEventWireup="true" 
    CodeBehind="dynamicimgeffectsext.aspx.cs" 
    Inherits="SharpPieces.DemoApp.DynamicImgEffectsExt"
%>

<asp:Content ID="Content1" ContentPlaceHolderID="headPlaceHolder" runat="server">
    <title>SharpPieces - Dynamic Image Effects Extended - Live Demo</title>
</asp:Content>

<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="descriptionPlaceholder">
<h1>Dynamic Image Effects Extended</h1>

<p>This is an example of how the DynamicImage can run custom developed
    transformation. In this example the IImageTransformation is implemented directly 
    by the page, just to keep things simple. The custom transformation inverts the colors
    of the image. </p>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="demoPlaceholder" runat="server">
    <piece:DynamicImage ID="DynamicImage1" runat="server" Source="~/App_Themes/car1bugattiveyron164.jpg" 
        Width="200px">
        <Text Font="Arial, 10pt" />
    </piece:DynamicImage>
    <asp:Label ID="Label1" runat="server" Text="Original"></asp:Label>
    <br />
    <piece:DynamicImage ID="DynamicImage2" runat="server" Source="~/App_Themes/car1bugattiveyron164.jpg" 
        Width="200px">
    </piece:DynamicImage>
    <asp:Label ID="Label2" runat="server" Text="Inverted colors"></asp:Label>
    <br />
    <piece:DynamicImage ID="DynamicImage3" runat="server" Source="~/App_Themes/car1bugattiveyron164.jpg" 
        Width="200px" ImageFormat="Png">
    </piece:DynamicImage>
    <asp:Label ID="Label3" runat="server" Text="Inverted colors"></asp:Label>
</asp:Content>
